<%@ page language="java" pageEncoding="utf-8"%>
<%@ include file="/basecore/taglibs.jsp"%>
<%@ taglib prefix="tab" uri="http://ditchnet.org/jsp-tabs-taglib" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
  <head>
  	<%@ include file="/basecore/meta.jsp"%>	
    <title></title>	
  </head>
  <body>
  		<div>
			编 号:<input id="identity" name="identity" size="120">(identity)<BR>
			名 称:<input id="name" name="name" type="text" size="120">(name)
		</div>
		<wit:selectTreeDialog treeid="t1" data="select id,username from ad_user"
		data2="select id,orgname from ad_org" parentid="ad_org_id" parentid2="ad_org_id" root="0" multiple="0"
		datatype="sql" nodeid="id" nodelabel="username" 	nodeid2="id" nodelabel2="name" 				
		field1="identity" field2="name" field3="others" others="name,id"/>(多数据源,datasource=sql;multiple=false)
		<br>
		<wit:selectTreeDialog treeid="t1" data="select id,username from ad_user"
		data2="select id,orgname from ad_org" parentid="ad_org_id" parentid2="ad_org_id" root="0" multiple="1"
		datatype="sql" nodeid="id" nodelabel="username" 	nodeid2="id" nodelabel2="name" 				
		field1="identity" field2="name" field3="others" others="name,id"/>(多数据源,允许多选,datasource=sql;multiple=true)		
		<br>
		<wit:selectTreeDialog treeid="t1" data="select id,username from ad_user"
		data2="select id,orgname from ad_org" parentid="ad_org_id" parentid2="ad_org_id" root="0" multiple="1"
		datatype="sql" nodeid="id" nodelabel="username" 	nodeid2="id" nodelabel2="name" 				
		field1="identity" field2="name" field3="others" others="name,id"onlyLeaf="0" />(多数据源,允许选择非叶子节点,datasource=sql;onlyLeaf=false)
		<br>
		<wit:selectTreeDialog treeid="t4" data="select id,orgname from ad_org" 
		parentid="ad_org_id" root="0" onlyLeaf="0" 
		datatype="sql" nodeid="id" nodelabel="name" 					
		field1="identity" field2="name"/>(单数据源,datasource=sql)
		<br>
		<wit:selectTreeDialog treeid="t5" data="ad_org" 
		parentid="ad_org_id" root="0" onlyLeaf="0" 
		datatype="table" nodeid="id" nodelabel="orgname" 					
		field1="identity" field2="name"/>(datasource=table,data=category)
		<br>		
		<wit:orgSelectDialog treeid="t50" onlyLeaf="0" field1="identity" field2="name" />
		<wit:userSelectDialog treeid="t60" onlyLeaf="1" field1="identity" field2="name" multiple="0"/>
  </body>
</html>
